3.981 \(\int x^m (3-2 a x)^{-1+n} (6+4 a x)^n \, dx\)

Optimal. Leaf size=104 \[ \frac{2^n 3^{2 n-1} x^{m+1} \, _2F_1\left (\frac{m+1}{2},1-n;\frac{m+3}{2};\frac{4 a^2 x^2}{9}\right )}{m+1}+\frac{a 2^{n+1} 9^{n-1} x^{m+2} \, _2F_1\left (\frac{m+2}{2},1-n;\frac{m+4}{2};\frac{4 a^2 x^2}{9}\right )}{m+2} \]

[Out]

(2^n*3^(-1 + 2*n)*x^(1 + m)*Hypergeometric2F1[(1 + m)/2, 1 - n, (3 + m)/2, (4*a^
2*x^2)/9])/(1 + m) + (2^(1 + n)*9^(-1 + n)*a*x^(2 + m)*Hypergeometric2F1[(2 + m)
/2, 1 - n, (4 + m)/2, (4*a^2*x^2)/9])/(2 + m)

_______________________________________________________________________________________

Rubi [A]  time = 0.191724, antiderivative size = 104, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.136 \[ \frac{2^n 3^{2 n-1} x^{m+1} \, _2F_1\left (\frac{m+1}{2},1-n;\frac{m+3}{2};\frac{4 a^2 x^2}{9}\right )}{m+1}+\frac{a 2^{n+1} 9^{n-1} x^{m+2} \, _2F_1\left (\frac{m+2}{2},1-n;\frac{m+4}{2};\frac{4 a^2 x^2}{9}\right )}{m+2} \]

Antiderivative was successfully verified.

[In]  Int[x^m*(3 - 2*a*x)^(-1 + n)*(6 + 4*a*x)^n,x]

[Out]

(2^n*3^(-1 + 2*n)*x^(1 + m)*Hypergeometric2F1[(1 + m)/2, 1 - n, (3 + m)/2, (4*a^
2*x^2)/9])/(1 + m) + (2^(1 + n)*9^(-1 + n)*a*x^(2 + m)*Hypergeometric2F1[(2 + m)
/2, 1 - n, (4 + m)/2, (4*a^2*x^2)/9])/(2 + m)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 16.7501, size = 75, normalized size = 0.72 \[ \frac{4 \cdot 18^{n - 1} a x^{m + 2}{{}_{2}F_{1}\left (\begin{matrix} - n + 1, \frac{m}{2} + 1 \\ \frac{m}{2} + 2 \end{matrix}\middle |{\frac{4 a^{2} x^{2}}{9}} \right )}}{m + 2} + \frac{6 \cdot 18^{n - 1} x^{m + 1}{{}_{2}F_{1}\left (\begin{matrix} - n + 1, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{\frac{4 a^{2} x^{2}}{9}} \right )}}{m + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**m*(-2*a*x+3)**(-1+n)*(4*a*x+6)**n,x)

[Out]

4*18**(n - 1)*a*x**(m + 2)*hyper((-n + 1, m/2 + 1), (m/2 + 2,), 4*a**2*x**2/9)/(
m + 2) + 6*18**(n - 1)*x**(m + 1)*hyper((-n + 1, m/2 + 1/2), (m/2 + 3/2,), 4*a**
2*x**2/9)/(m + 1)

_______________________________________________________________________________________

Mathematica [C]  time = 0.395167, size = 168, normalized size = 1.62 \[ -\frac{3 (m+2) x^{m+1} \left (18-8 a^2 x^2\right )^n F_1\left (m+1;1-n,-n;m+2;\frac{2 a x}{3},-\frac{2 a x}{3}\right )}{(m+1) (2 a x-3) \left (2 a x \left (n \, _2F_1\left (\frac{m}{2}+1,1-n;\frac{m}{2}+2;\frac{4 a^2 x^2}{9}\right )-(n-1) F_1\left (m+2;2-n,-n;m+3;\frac{2 a x}{3},-\frac{2 a x}{3}\right )\right )+3 (m+2) F_1\left (m+1;1-n,-n;m+2;\frac{2 a x}{3},-\frac{2 a x}{3}\right )\right )} \]

Warning: Unable to verify antiderivative.

[In]  Integrate[x^m*(3 - 2*a*x)^(-1 + n)*(6 + 4*a*x)^n,x]

[Out]

(-3*(2 + m)*x^(1 + m)*(18 - 8*a^2*x^2)^n*AppellF1[1 + m, 1 - n, -n, 2 + m, (2*a*
x)/3, (-2*a*x)/3])/((1 + m)*(-3 + 2*a*x)*(3*(2 + m)*AppellF1[1 + m, 1 - n, -n, 2
 + m, (2*a*x)/3, (-2*a*x)/3] + 2*a*x*(-((-1 + n)*AppellF1[2 + m, 2 - n, -n, 3 +
m, (2*a*x)/3, (-2*a*x)/3]) + n*HypergeometricPFQ[{1 + m/2, 1 - n}, {2 + m/2}, (4
*a^2*x^2)/9])))

_______________________________________________________________________________________

Maple [F]  time = 0.237, size = 0, normalized size = 0. \[ \int{x}^{m} \left ( -2\,ax+3 \right ) ^{-1+n} \left ( 4\,ax+6 \right ) ^{n}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^m*(-2*a*x+3)^(-1+n)*(4*a*x+6)^n,x)

[Out]

int(x^m*(-2*a*x+3)^(-1+n)*(4*a*x+6)^n,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (4 \, a x + 6\right )}^{n}{\left (-2 \, a x + 3\right )}^{n - 1} x^{m}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m,x, algorithm="maxima")

[Out]

integrate((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (4 \, a x + 6\right )}^{n}{\left (-2 \, a x + 3\right )}^{n - 1} x^{m}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m,x, algorithm="fricas")

[Out]

integral((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**m*(-2*a*x+3)**(-1+n)*(4*a*x+6)**n,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (4 \, a x + 6\right )}^{n}{\left (-2 \, a x + 3\right )}^{n - 1} x^{m}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m,x, algorithm="giac")

[Out]

integrate((4*a*x + 6)^n*(-2*a*x + 3)^(n - 1)*x^m, x)